package com.gubei.auth.domain.convert;

import com.gubei.auth.domain.entity.AuthPermissionBO;
import com.gubei.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionBOConverter {

    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBoToEntity(AuthPermissionBO authPermissionBO);

    AuthPermissionBO convertEntityToBo(AuthPermission authPermission);
}
